package org.jeecg.modules.health_records.health_activity.service;

import org.jeecg.modules.health_records.health_activity.entity.HealthActivityInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 健康活动记录
 * @Author: jeecg-boot
 * @Date:   2025-06-30
 * @Version: V1.0
 */
public interface IHealthActivityInfoService extends IService<HealthActivityInfo> {
    /**按recordid查询**/
     List<HealthActivityInfo> queryByRecordId(HealthActivityInfo healthActivityInfo);
    /**新规则:查询当下时间往前12个月的就诊数据作为电子病历数据**/
    List<HealthActivityInfo>  newQueryElecRecord(HealthActivityInfo healthActivityInfo);
    /**新规则：除去当下时间往前12个月的就诊数据，剩下的数据为既往病历数据**/
    List<HealthActivityInfo>  newQueryPastRecord(HealthActivityInfo healthActivityInfo);

}
